#ifndef __PREDICATE_H_
#define __PREDICATE_H_

#include "Attribute.h"
#include "Record.h"
#include "Schema.h"



struct Op {
        int whichAtt;
        char compOp;
        Type hisType;
        Attribute literalVal;
};

class Predicate {

	Op *ops;
	int numOps;

public:

	~Predicate ();

	int Apply (Record &toMe);
	Predicate (Schema &useMe, char *fName);
	
};


#endif /* __PREDICATE_H_ */
